<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/3 0003
 * Time: 下午 4:00
 */
namespace app\common\validate;

use think\Validate;

class AdminUser extends Validate{
    protected $rule = [
      'username' => 'require|max:20',
        'password' => 'require|max:20'
    ];
}